package com.cc.visitor.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 表 qr_code
 * @author chanchaw
 * @create 2024-12-09 13:38
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class QrCode implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id(keyType = KeyType.Auto)
    private Integer id;
    private Integer visitId;// 对应访单的主键 = visit.id
    private String sid;
    private String category;
    private String content;
    private Integer state;
    private Integer isDelete;
    private String remark;
    private String sysRemark;
    private Double seq;
    private LocalDateTime createTime;
    private String createUnionId;
    private LocalDateTime lastTime;
    private String lastUser;
    private String targetUnionId;
    private LocalDateTime lastGenerateTime;
    private String useUnionId;
    private LocalDateTime scanTime;
}
